package com.geekaca.db.pojo;

import java.text.SimpleDateFormat;

public class Questionnaire {
    private int id;
    private String questionnaireName;
    private SimpleDateFormat createTime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getQuestionnaireName() {
        return questionnaireName;
    }

    public void setQuestionnaireName(String questionnaireName) {
        this.questionnaireName = questionnaireName;
    }

    public SimpleDateFormat getCreateTime() {
        return createTime;
    }

    public void setCreateTime(SimpleDateFormat createTime) {
        this.createTime = createTime;
    }

    public Questionnaire(int id, String questionnaireName, SimpleDateFormat createTime) {
        this.id = id;
        this.questionnaireName = questionnaireName;
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "Questionnaire{" +
                "id=" + id +
                ", questionnaireName='" + questionnaireName + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
